package com.hhyx.execl.model.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 公共分页返回对象
 */
@Data
@ApiModel(value = "分页返回对象")
public class ReturnPage<T> implements Serializable {
    @ApiModelProperty("总条数")
    private long total;
    @ApiModelProperty("当前页列表记录")
    private List<T> records;
}

